package cn.com.connext.scrm.web.rest.req;

import cn.com.connext.scrm.web.rest.enums.CardCouponNature;

import java.util.Date;

public class ProductReq {

    private String id;

    private String pointManagerName;

    private Integer pointManagerId;

    private String level;

    private Integer type;//0实物 1有赞卷 2 优惠卷

    private String name;//产品名称

    private String nameEn;//产品名称英文

    private String description;//产品描述

    private String couponId;//优惠卷id

    private Integer points;//商品积分

    private String headImage;//头图

    private String detailImage;//详情图

    private Date onlineTime;//上架时间

    private Date offlineTime;//下架时间

    private Integer stock;//库存

    private String url;//有赞卷跳转路径

    private String remark;//备注

    /**
     * 卡券性质
     * @see CardCouponNature
     */
    private String couponNature;

    /**
     * 有效开始时间
     */
    private Date startTime;

    /**
     * 有效结束时间
     */
    private Date endTime;

    /**
     * 奖品CODE
     */
    private String goodCode;
    private Integer productType; //0  初始状态 1删除

    /**
     * 2021-12-15:20:45
     * 新增 limitPerperson ,limitType字段
     * 每位会员限兑件数（0表示不限兑）
     */
    private Integer limitPerperson;

    /**
     * 限兑类型（1按月限兑、2按年限兑）
     */
    private String limitType;

    public Integer getProductType() {
        return productType;
    }

    public void setProductType(Integer productType) {
        this.productType = productType;
    }

    public String getPointManagerName() {
        return pointManagerName;
    }

    public void setPointManagerName(String pointManagerName) {
        this.pointManagerName = pointManagerName;
    }

    public void setPointManagerId(Integer pointManagerId) {
        this.pointManagerId = pointManagerId;
    }
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLevel() {
        return level;
    }

    public Integer getPointManagerId() {
        return pointManagerId;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Integer getPoints() {
        return points;
    }

    public void setPoints(Integer points) {
        this.points = points;
    }

    public String getHeadImage() {
        return headImage;
    }

    public void setHeadImage(String headImage) {
        this.headImage = headImage;
    }

    public String getDetailImage() {
        return detailImage;
    }

    public void setDetailImage(String detailImage) {
        this.detailImage = detailImage;
    }

    public Date getOnlineTime() {
        return onlineTime;
    }

    public void setOnlineTime(Date onlineTime) {
        this.onlineTime = onlineTime;
    }

    public Date getOfflineTime() {
        return offlineTime;
    }

    public void setOfflineTime(Date offlineTime) {
        this.offlineTime = offlineTime;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getNameEn() {
        return nameEn;
    }

    public void setNameEn(String nameEn) {
        this.nameEn = nameEn;
    }

    public String getCouponId() {
        return couponId;
    }

    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getCouponNature() {
        return couponNature;
    }

    public void setCouponNature(String couponNature) {
        this.couponNature = couponNature;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getGoodCode() {
        return goodCode;
    }

    public void setGoodCode(String goodCode) {
        this.goodCode = goodCode;
    }

    public Integer getLimitPerperson() {
        return limitPerperson;
    }

    public void setLimitPerperson(Integer limitPerperson) {
        this.limitPerperson = limitPerperson;
    }

    public String getLimitType() {
        return limitType;
    }

    public void setLimitType(String limitType) {
        this.limitType = limitType;
    }
}
